<?php /* Smarty version Smarty-3.1.7, created on 2012-04-04 13:18:03
         compiled from ".\templates\reply.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9434f7bcb7b4e6dc0-02783418%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0011902cf381a03af5fdbcb6faa63091c4a084eb' => 
    array (
      0 => '.\\templates\\reply.tpl',
      1 => 1333348341,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9434f7bcb7b4e6dc0-02783418',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'row' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f7bcb7b8d2de',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f7bcb7b8d2de')) {function content_4f7bcb7b8d2de($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\pleiades\\xampp\\htdocs\\BBS\\libs\\plugins\\modifier.date_format.php';
?><html>
<head>
<title>SHONAN BBS</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="./CSS/style.css"
      rel= "stylesheet"
      type= "text/css"
      media="all" />
</head>
<body>
<?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<h1>SHONAN BBS</h1>

<div class="commentBox">
<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['row']->value['nickname']);?>
さんの投稿<br>
<?php echo nl2br(htmlspecialchars($_smarty_tpl->tpl_vars['row']->value['content']));?>
<br>
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['created_at'],"%Y年%m月%e日");?>
<br>
</div>
に返信する
<form action= "reply_submit.php" method="post">
内容<br>
<textarea name="content" cols="60" rows="10"></textarea><br>
ニックネーム<br>
<input type="text" name="nickname" size="20"><br>
<input type="hidden" name="comment_id" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">
<input type="hidden" name= "session_id" value="<?php echo $_SESSION['submit_id'];?>
">
<input type="submit" name="send" value="投稿する">
</form>

</body>
</html>
<?php }} ?>